import request from "@/utils/request";
export function createOrder({ id }, data) {
  return request({
    url: "appstore/order/add/" + id,
    method: "post",
    data
  });
}
export function unipayInit(data) {
  return request({
    url: "unipay/unipay",
    method: "post",
    data
  });
}
export function wechatpay(data) {
  return request({
    url: "unipay/wechatpay/native",
    method: "post",
    data
  });
}
